package com.console.pages.planmgr;

import com.common.test.DefaultElement;
import com.common.test.FindElement;
import com.common.test.PageBase;
import com.common.test.UITestBase;

public class FinancePlanBondPage extends PageBase {
	
	public FinancePlanBondPage(UITestBase tb){
		super(tb);
	}
	
	@FindElement(findName = "xpath", findValue="//input[@ng-model='searchData.name']", desc="名称模糊查询输入框")
	public DefaultElement namefuzzysearchinput;
	@FindElement(findName = "xpath", findValue="//input[@ng-model='searchData.userName']", desc="用户姓名查询输入框")
	public DefaultElement usernameinput;
	@FindElement(findName = "xpath", findValue="//input[@ng-model='searchData.cellPhone']", desc="用户手机号查询输入框")
	public DefaultElement cellphoneinput;
	@FindElement(findName = "xpath", findValue="//select[@ng-model='searchData.statusObj']", desc="查找范围选择框")
	public DefaultElement statusselect;
	@FindElement(findName = "xpath", findValue="", desc="页码")
	public DefaultElement pageLink;
	@FindElement(findName = "xpath", findValue="(//button[@class='btn btn-primary'])[1]", desc="查找范围选择框")
	public DefaultElement searchbutton;
	@FindElement(findName = "xpath", findValue="//ul[@class='pagination']", desc="理财计划债权分页区域")
	public DefaultElement pagination;
	@FindElement(findName = "xpath", findValue="(//ul[@class='pagination']/li)[last()]/a", desc="单标债权分页最后一页链接")
	public DefaultElement planloanlastPageNumLnk;
	@FindElement(findName = "xpath", findValue="(//tr[@ng-repeat='loan in loans']/td[1])[1]", desc="序号控件")
	public DefaultElement sequenceEle;
	@FindElement(findName = "xpath", findValue="", desc="详情链接")
	public DefaultElement detailsLnk;
	@FindElement(findName = "xpath", findValue="//a[text()='提前/逾期结清']", desc="提前/逾期结清链接")
	public DefaultElement repayinadvanceorinoverdueLnk;
	@FindElement(findName = "xpath", findValue="//button[contains(text(),'提前结清')]", desc="提前结清按钮")
	public DefaultElement repayinadvancebutton;
	@FindElement(findName = "xpath", findValue="(//button[@class='btn btn-success' and contains(text(), '确定')])[2]", desc="确定按钮")
	public DefaultElement assureButton;
}
